import { Sequelize } from "sequelize-typescript";

const sequelize = new Sequelize({
  database: "club_dev",
  username: "club_dev",
  password: "sWocq2figMA2ZHGw",
  host: "47.94.18.154",
  port: 3306,
  dialect: "mysql",
  operatorsAliases: false,
  pool: {
    max: 5,
    min: 0,
    acquire: 30000,
    idle: 10000
  },
  timezone: "+8:00",
  modelPaths: [__dirname + "/model"]
});

export default sequelize;